﻿using Microsoft.Extensions.Configuration;

namespace 自定义配置系统
{
    public class LmConfigSource : FileConfigurationSource
    {
        public override IConfigurationProvider Build(IConfigurationBuilder builder)
        {
            //加载默认项
            EnsureDefaults(builder);
            return new LmConfigProvider(this);
        }
    }
}
